/**
 *
 */
package com.tgy.jwt.consts;


/**
 * 静态变量
 * @author <a href="mailto:lihz2@asiainfo.com">FluteD</a>
 * @version 2016年6月1日
 */
public class GlobalConsts {

	//jwt的sercret，在任何场景都不应该流露出去。后期可以考虑加密
	public static final String JWT_SECERT = "tgy666";


	public static final String JWT_ERRCODE_EXPIRE = "1";

	public static final String JWT_ERRCODE_FAIL = "2";

	public static final String JWT_OTHER_FAIL = "3";

	public static final String JWT_TOKENNULL = "token不能为空！";

	public static final String JWT_ERRCODE_EXPIRE_MSG = "token过期";

	public static final String JWT_ERRCODE_FAIL_MSG = "签名错误";

	public static final String JWT_OTHER_FAIL_MSG = "验证token异常";
	public static final long JWT_EXPTIME = 1000*60*60*8L;  //8个小时

	public static final String REQUEST_FAIL = "fail";
	public static final String REQUEST_SUCCESS = "success";

	public static final String TOKEN_ID = "system";
	public static final String TOKEN_NAME = "system";
}



